
public class hw2_1 {

	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{	
		int i =0;
		long fac = 1;
		
		for(i=1;i<=10;i++)
		{
			fac=fac*i;
			System.out.println(i+"! = " +fac);
		}

	}
	

}
